package com.shiguiwu.springmybatis.spring.property;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.UUID;

/**
 * @description:
 * @author: stone
 * @date: Created by 2021/4/6 20:08
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.spring.property
 */

@Component
@MyScope
@Data
public class Person {


    private String username;

    public Person() {
        System.out.println("创建构造函数》》》》》》》》》》》》》》》》》》》》》》");
        this.username = UUID.randomUUID().toString();
    }
}
